Skip to main content

target

Type

keyword

Summary

Specifies the text contents of the field which was the target of the message currently being handled.

Syntax

target

Description

Use the target keyword to access the contents of the field named in the target function.

The only semantic difference between the target function and the target keyword is that the target keyword is not preceded by the word "the".

If the target object is not a field, the target keyword reports the name of the object, just like the target function.

Examples

answer target

control structure: function

function: target

glossary: handle, message, keyword, object

keyword: field

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?